<?php
$viewdefs ['Accounts'] = 
array (
  'EditView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'buttons' => 
        array (
          0 => 'SAVE',
          1 => 'CANCEL',
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'includes' => 
      array (
        0 => 
        array (
          'file' => 'modules/Accounts/Account.js',
        ),
      ),
    ),
    'panels' => 
    array (
      'lbl_account_information' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'name',
            'label' => 'LBL_NAME',
            'displayParams' => 
            array (
              'required' => true,
            ),
          ),
          1 => 
          array (
            'name' => 'phone_office',
            'label' => 'LBL_PHONE_OFFICE',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'website',
            'type' => 'link',
            'label' => 'LBL_WEBSITE',
          ),
          1 => 
          array (
            'name' => 'phone_fax',
            'label' => 'LBL_PHONE_FAX',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'parent_name',
            'label' => 'LBL_MEMBER_OF',
          ),
          1 => 
          array (
            'name' => 'phone_alternate',
            'label' => 'LBL_OTHER_PHONE',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'city_name',
            'label' => 'LBL_CITY_NAME',
            'displayParams' => 
            array (
              'initial_filter' => '&special=true',
            ),
          ),
          1 => 
          array (
            'name' => 'gruper_customer_service_type_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_CUSTOMER_SERVICE_TYPE',
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 'assigned_user_name',
            'customCode' => '<input type="text" autocomplete="off" title="" value="{$fields.assigned_user_name.value}" size="" id="assigned_user_name" tabindex="108" class="sqsEnabled yui-ac-input" name="assigned_user_name">
            <input type="hidden" value="{$fields.assigned_user_id.value}" id="assigned_user_id" name="assigned_user_id">
            <input type="button" onclick="checkCityField()" value="Wybierz" class="button" accesskey="T" title="Wybierz [Alt+T]" tabindex="104" id="btn_assigned_user_name" name="btn_assigned_user_name">
            <input type="button" value="Wyczyść" onclick="this.form.assigned_user_name.value = \'\'; this.form.assigned_user_id.value = \'\';" class="button" accesskey="C" title="Wyczyść[Alt+C]" tabindex="104" id="btn_clr_assigned_user_name" name="btn_clr_assigned_user_name">
            {$SECTION_JS}',
            'displayParams' => 
            array (
              'required' => true,
            ),
          ),
          1 => 
          array (
            'name' => 'gruper_czy_sieciowa_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_CZY_SIECIOWA',
          ),
        ),
        5 => 
        array (
          0 => 
          array (
            'name' => 'gruper_typ_lokalizacji_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_TYP_LOKALIZACJI',
          ),
          1 => 
          array (
            'name' => 'gruper_sposob_rezerwacji_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_SPOSOB_REZERWACJI',
          ),
        ),
        6 => 
        array (
          0 => 
          array (
            'name' => 'gruper_nip_c',
            'label' => 'LBL_GRUPER_NIP',
          ),
          1 => 
          array (
            'name' => 'ownership',
            'label' => 'LBL_OWNERSHIP',
          ),
        ),
        7 => 
        array (
          0 => 
          array (
            'name' => 'gruper_ilosc_punktow_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_ILOSC_PUNKTOW',
          ),
          1 => 
          array (
            'name' => 'gruper_regon_c',
            'label' => 'LBL_GRUPER_REGON_C',
          ),
        ),
        8 => 
        array (
          0 => 
          array (
            'name' => 'gruper_dostepne_materialy_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_DOSTEPNE_MATERIALY',
          ),
        ),
      ),
      'lbl_address_information' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'billing_address_street',
            'hideLabel' => true,
            'type' => 'address',
            'displayParams' => 
            array (
              'key' => 'billing',
              'rows' => 2,
              'cols' => 30,
              'maxlength' => 150,
            ),
          ),
          1 => 
          array (
            'name' => 'shipping_address_street',
            'hideLabel' => true,
            'type' => 'address',
            'displayParams' => 
            array (
              'key' => 'shipping',
              'copy' => 'billing',
              'rows' => 2,
              'cols' => 30,
              'maxlength' => 150,
            ),
          ),
        ),
      ),
      'lbl_email_addresses' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'email1',
            'studio' => 'false',
            'label' => 'LBL_EMAIL',
          ),
        ),
      ),
      'lbl_description_information' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'description',
            'displayParams' => 
            array (
              'cols' => 80,
              'rows' => 6,
            ),
            'label' => 'LBL_DESCRIPTION',
          ),
        ),
        1 => 
        array (
          0 => '',
          1 => '',
        ),
      ),
      'lbl_panel1' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'ocena_c',
            'studio' => 'visible',
            'label' => 'LBL_OCENA',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'gruper_partner_rank_spec_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_PARTNER_RANK_SPEC',
          ),
          1 => 
          array (
            'name' => 'gruper_partner_rank_comment_c',
            'studio' => 'visible',
            'label' => 'LBL_GRUPER_PARTNER_RANK_COMMENT',
          ),
        ),
      ),
    ),
  ),
);
?>
